package edu.wong.pro.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;

import edu.wong.pro.iservice.IMember;
import edu.wong.pro.model.Member;

public class GetAllMemberAction extends ActionSupport{
	private List<Member> list;
	private String name;
	private String indate;
	private String college;
	private String major;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIndate() {
		return indate;
	}
	public void setIndate(String indate) {
		this.indate = indate;
	}
	public String getCollege() {
		return college;
	}
	public void setCollege(String college) {
		this.college = college;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	private IMember iMember;
	public List<Member> getList() {
		return list;
	}
	public void setList(List<Member> list) {
		this.list = list;
	}
	public IMember getiMember() {
		return iMember;
	}
	public void setiMember(IMember iMember) {
		this.iMember = iMember;
	}
	public String getAllMember(){
		list = iMember.getAllMember(name, indate, college, major);
		return "ok";
	}
	
}
